from model import models

TORTOISE_ORM = {
    "connections":{
        "default":{
            "engine":"tortoise.backends.mysql",
            "credentials":{
                "host":"127.0.0.1",
                "port":3306,
                "user":"root",
                "password":"ZhengHui423$",
                "database":"fastapi",
                "charset":"utf8mb4",
                "echo":True
            }
        }
    },
    "apps":{
        "models":{
            "models":["aerich.models",models],
            "default_connection":"default"
        }
    },
    "use_tz":False,
    "timezone":"Asia/Shanghai"
}